<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="update" method="post">
    <table border="1" cellspacing="0">
        <tr>
            <td>编号</td>
            <td>姓名</td>
            <td>性别</td>
            <td>工资</td>
            <td>时间</td>
            <td>部门</td>
            <td>操作</td>
        </tr>
        <tr th:object="${emp}">
            <td>
                <input type="text" name="eid" th:value="*{eid}" readonly>
            </td>
            <td>
                <input type="text" name="ename" th:value="*{ename}">
            </td>
            <td>
                <input type="text"  name="sex" th:value="*{sex}">

            </td>
            <td>
                <input type="text" name="salary" th:value="*{salary}">
            </td>
            <td>
                <input type="date" name="createtime" th:value="*{createtime}">
            </td>
            <td>
                <input type="text" name="dname" th:value="*{dname}">
            </td>
            <td>
                <input type="submit" value="修改">
            </td>
        </tr>
    </table>
</form>
</body>
</html>